package com.drink.yan.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.drink.yan.intf.entity.YanCommission;
import com.drink.yan.intf.vo.CommissionVo;
import com.drink.yan.web.rest.req.qry.UserCommissionQry;
import com.drink.yan.web.rest.req.qry.PageCommissionQry;

import java.math.BigDecimal;
import java.util.List;

/**
 * java类简单作用描述
 *
 * @Title:
 * @Package: com.drink.yan.core.mapper.
 * @Author: M.simple
 * @Remark: The modified content
 * @CreateDate: 2023/11/24 20:45
 * @Version: v2.0
 */
public interface YanCommissionMapper extends BaseMapper<YanCommission> {

	BigDecimal sumAmmount(UserCommissionQry qry);

	List<CommissionVo> listCommission(UserCommissionQry qry);

	List<CommissionVo> listCommissionVo(PageCommissionQry qry);
}
